package com.pxst.fx.resp;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class SysFxOrderEntityResp {

    /**
     * sys_bank_card_group ID
     */
    @ApiModelProperty(value = "银行卡群Id")
    private Long pgId;

    /**
     * sys_merchant_info name
     */
    @ApiModelProperty(value = "商户名称")
    private String shName;

    /**
     * 系统手续费
     */
    private Double rate;


    /**
     * 批准按钮
     */
    private Boolean approveBtn;

    /**
     * 批准方式
     */

    private Integer approveType;

    /**
     * 完成按钮
     */
    private Boolean doneBtn;

    /**
     * 响应按钮
     */
    private Boolean rejectBtn;

    /**
     * 菜单按钮
     */
    private Boolean manualBtn;

    /**
     * sys_merchant_info code
     */
    @ApiModelProperty(value = "商户编码")
    private String shCode;

    /**
     * sys_fx_order Id
     */
    @ApiModelProperty(value = "下发Id")
    private Long fxId;

    /**
     * sys_merchant_info Id
     */
    @ApiModelProperty(value = "商户信息Id")
    private Long shId;


    /**
     * sys_fx_order  to_bank
     */
    @ApiModelProperty(value = "转账银行")
    private String toBank;

    /**
     * sys_fx_order  to_man
     */
    @ApiModelProperty(value = "转账人")
    private String toMan;

    /**
     * sys_fx_order  to_card_number
     */
    @ApiModelProperty(value = "to银行账户")
    private String toCardNumber;

    @ApiModelProperty(value = "用户发起金额")
    private BigDecimal requestAmount;

    @ApiModelProperty(value = "银行手续费")
    private BigDecimal bankFee;

    private BigDecimal paidAmount;

    @ApiModelProperty(value = "下发状态")
    private Integer status;

    @ApiModelProperty(value = "交易代码")
    private String trCode;

    private String note;

    /**
     * sys_fx_order
     */
    @ApiModelProperty(value = "创建结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss", timezone = "GMT+8")
    private Date createdAt;

    @ApiModelProperty(value = "更新完成时间")
    @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss", timezone = "GMT+8")
    private Date updatedAt;

    @ApiModelProperty(value = "创建人")
    private String createdMan;

    @ApiModelProperty(value = "更新人")
    private String updatedMan;

    private String action;

    /**
     * 前缀 S + 创建时间 + 下发id
     */
    @ApiModelProperty(value = "拼接后的下发Id")
    private String altId;
}
